package java_1_6;
class X{
    Y y=new Y();
    public X(){
        System.out.println("x");
    }
}
class Y{
    public Y(){
        System.out.println("y");
    }
}
public class z extends X {
    Y y=new Y();
    public z(){
        System.out.println("z");
    }

    public static void main(String[] args) {
        new z();
    }
}
